package com.zeta.api.client.demo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

/**
 * KotlinDemo服务 Feign接口
 *
 * @author gcc
 */
@FeignClient(name = "kotlin-demo-server", path = "/demo/kt", fallbackFactory = IDemoKotlinApiFallbackFactory.class)
public interface IDemoKotlinApi {


    /**
     * 健康检查
     */
    @GetMapping("/health")
    Map<String, Object> health();

}
